<?php
global $aldb;
$table_guestbook = "CREATE TABLE IF NOT EXISTS `$aldb->guestbook` (
  `id` int(10) unsigned NOT NULL auto_increment,
  `author` varchar(50) NOT NULL,
  `author_contact` varchar(100) NOT NULL,
  `author_ip` varchar(15) NOT NULL,
  `post_time` int(10) unsigned NOT NULL,
  `title` varchar(100) NOT NULL,
  `content` text NOT NULL,
  `author_agent` varchar(255) NOT NULL,
  `parent` int(10) unsigned NOT NULL,
  `status` tinyint(1) unsigned NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1";


$aldb->query("$table_guestbook");
?>
